Optimal. Leaf size=77 \[ -\frac {\csc (e+f x) \sin ^2(e+f x)^{\frac {n+2}{2}} (d \cot (e+f x))^{n+1} \, _2F_1\left (\frac {n+1}{2},\frac {n+2}{2};\frac {n+3}{2};\cos ^2(e+f x)\right )}{d f (n+1)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.03, antiderivative size = 77, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.059, Rules used = {2617} \[ -\frac {\csc (e+f x) \sin ^2(e+f x)^{\frac {n+2}{2}} (d \cot (e+f x))^{n+1} \, _2F_1\left (\frac {n+1}{2},\frac {n+2}{2};\frac {n+3}{2};\cos ^2(e+f x)\right )}{d f (n+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2617
Rubi steps
\begin {align*} \int (d \cot (e+f x))^n \csc (e+f x) \, dx &=-\frac {(d \cot (e+f x))^{1+n} \csc (e+f x) \, _2F_1\left (\frac {1+n}{2},\frac {2+n}{2};\frac {3+n}{2};\cos ^2(e+f x)\right ) \sin ^2(e+f x)^{\frac {2+n}{2}}}{d f (1+n)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.15, size = 69, normalized size = 0.90 \[ -\frac {(d \cot (e+f x))^n \, _2F_1\left (-n,-\frac {n}{2};1-\frac {n}{2};\tan ^2\left (\frac {1}{2} (e+f x)\right )\right ) \left (\cos (e+f x) \sec ^2\left (\frac {1}{2} (e+f x)\right )\right )^{-n}}{f n} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 1.10, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\left (d \cot \left (f x + e\right )\right )^{n} \csc \left (f x + e\right ), x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \left (d \cot \left (f x + e\right )\right )^{n} \csc \left (f x + e\right )\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 1.47, size = 0, normalized size = 0.00 \[ \int \left (d \cot \left (f x +e \right )\right )^{n} \csc \left (f x +e \right )\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \left (d \cot \left (f x + e\right )\right )^{n} \csc \left (f x + e\right )\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {{\left (d\,\mathrm {cot}\left (e+f\,x\right )\right )}^n}{\sin \left (e+f\,x\right )} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \left (d \cot {\left (e + f x \right )}\right )^{n} \csc {\left (e + f x \right )}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________